package com.itheima.util;

//常量定义
public class ConstantUtil {
    //===================================系统使用=====================================//
    //初始化密码
    public static final String INIT_PASSWORD = "123456";
    //jwt加密盐
    public static final String JWT_SECRET = "tanhua";
    //验证码输入作物提示信息
    public static final String CODE_MESSAGE = "验证码输入错误";
    //冻结的用户
    public static final String FREEZE_USER = "FREEZE_USER:";
    //冻结用户发言
    public static final String FREEZE_USERComment = "FREEZE_USERComment:";
    //冻结用户发表动态
    public static final String FREEZE_USERMovement = "FREEZE_USERMovement:";
    //===================================redis中使用===================================//
    //短信验证码
    public static final String SMS_CODE = "sms:";
    //token
    public static final String USER_TOKEN = "token:";
    //动态点赞
    public static final String MOVEMENT_LIKE = "movement_like:{}_{}";
    //动态喜欢
    public static final String MOVEMENT_LOVE = "movement_love:{}_{}";
    //动态评论点赞
    public static final String MOVEMENT_COMMENT_LIKE = "movement_comment_like:{}_{}";
    //视频点赞
    public static final String VIDEO_LIKE = "video_like:{}_{}";
    //关注用户
    public static final String FOCUS_USER = "focus_user:{}_{}";
    //评论点赞
    public static final String COMMENT_LIKE = "comment_like:{}_{}";
    //用户最后一次访问时间
    public static final String LAST_ACCESS_TIME = "last_access_time:";

    //===================================redis中使用======================================//
    //管理员登录验证码
    public static final String ADMIN_CODE = "admin_code_";
    //管理员令牌
    public static final String ADMIN_TOKEN = "admin_token_";

    //===================================mongodb中使用===================================//
    //视频大数据id标识
    public static final String VIDEO_ID = "video";
    //动态大数据id标识
    public static final String MOVEMENT_ID = "movement";
    //用户大数据id标识
    public static final String USER_ID = "user";

    //我的动态表名前缀
    public static final String MOVEMENT_MINE = "movement_mine_";
    //好友动态表名前缀
    public static final String MOVEMENT_FRIEND = "movement_friend_";

    //==================================动态中使用=======================================//
    //动态点赞标识
    public static final Integer MOVEMENT_LIKE_1 = 1;
    //动态评论标识
    public static final Integer MOVEMENT_COMMENT_2 = 2;
    //动态喜欢标识
    public static final Integer MOVEMENT_LOVE_3 = 3;
    //视频点赞标识
    public static final Integer VIDEO_LIKE_4 = 4;
    //视频评论标识
    public static final Integer VIDEO_COMMENT_5 = 5;
    //评论点赞标识
    public static final Integer COMMENT_LIKE_6 = 6;
    //桃花传音次数标识
    public static final String SOUND_COUNT = "sound_count_";
    //桃花传音默认次数
    public static final String SOUND_Number = "10";
    //==================================动态中使用=======================================//
    public static final String VISITOR_SOURCE_INDEX = "首页";
    public static final String QUANZI_MOVEMENT = "QUANZI_PUBLISH_RECOMMEND_";
    public static final String QUANZI_VIDEO = "QUANZI_VIDEO_RECOMMEND_";
}
